#pragma once
#include "CDependencyObject.h"

class CTimeSpan :
	public CDependencyObject
{

protected: 
	CTimeSpan();
private: 
	CTimeSpan(CCoreServices * pCore);
protected: 
	virtual ~CTimeSpan();
public: 
	static HRESULT Create(CDependencyObject * * ppObject, CREATEPARAMETERS * pCreate); 
	static HRESULT TimeSpanFromString(XUINT32 cString, XUINT16 * pString, XFLOAT * peValue);
	virtual XUINT32 GetTypeIndex() const;
	XFLOAT m_rTimeSpan;
protected: 
	HRESULT InitFromString(XUINT32 cString, XUINT16 * pString);
	void CopyTimeSpanProperties(CTimeSpan * pTimeSpan);
};